/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package distribuicaoDeProfessores;

/**
 *
 * @author Jaime
 */
public class Dia implements java.io.Serializable {
    private final String dias[]={"Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado", "Domingo"};
    private String dia;
    
    Dia(int i)
    {
        dia = dias[i];
    }

    @Override
    public String toString() {
        return dia;
    }

    public String getDia() {
        return dia;
    }

    public void setDia(int i) {
        dia = dias[i];
    }
    
    
}
